let allData = new Vue({
    el:"#locs",
    data:{

    },
    methods:{
        nDetailPo:function () {
            let id = location.search;
             id = id.substr(1);
            alert("id为--:" + id);
        }
    },
    created:function () {
        this.nDetailPo();
    }
})